﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterALSafa.Master" AutoEventWireup="true"
    CodeBehind="Discount.aspx.cs" Inherits="School.Pages.Bus.Discount1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table class="style1" dir="rtl" align="right">
                <tr>
                    <td>
                        نسبة خصم اشتراك ذهاب او عودة فقط
                    </td>
                    <td align="center">
                        <asp:TextBox ID="txtpath" runat="server" Width="200px">0</asp:TextBox>
                    </td>
                    <td align="center">
                        <asp:CompareValidator ID="CompareValidator1" runat="server" 
                            ControlToValidate="txtpath" Display="Dynamic" ErrorMessage="ادخل نسبة" 
                            ForeColor="Red" Operator="DataTypeCheck" Type="Double"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        نسبة خصم الإشتراك لترم واحد
                    </td>
                    <td align="center">
                        <asp:TextBox ID="txtterm" runat="server" Width="200px">0</asp:TextBox>
                    </td>
                    <td align="center">
                        <asp:CompareValidator ID="CompareValidator3" runat="server" 
                            ControlToValidate="txtterm" Display="Dynamic" ErrorMessage="ادخل نسبة" 
                            ForeColor="Red" Operator="DataTypeCheck" Type="Double"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        نسبة خصم الإشتراك لترم واحد
                    </td>
                    <td align="center">
                        <asp:TextBox ID="txtpathterm" runat="server" Width="200px">0</asp:TextBox>
                    </td>
                    <td align="center">
                        <asp:CompareValidator ID="CompareValidator2" runat="server" 
                            ControlToValidate="txtpathterm" Display="Dynamic" ErrorMessage="ادخل نسبة" 
                            ForeColor="Red" Operator="DataTypeCheck" Type="Double"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        &nbsp;</td>
                    <td align="center">
                        <asp:Label ID="lbltestBus" runat="server" Visible="False"></asp:Label>
                    </td>
                    <td align="center">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="center">
                        &nbsp;
                    </td>
                    <td align="center">
                        <asp:Button ID="btnsave" runat="server" onclick="btnsave_Click" Text="حفظ"  CssClass="graybutton" 
                            ValidationGroup="per" />
                    </td>
                    <td align="center">
                        &nbsp;</td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
